* Vigilantes and the State: Understanding Violence through a Security Assemblages Approach
* Rebecca Tapscott (rebecca.tapscott@gradauteinstitute.ch)
* Perspectives on Politics
	
* FIGURES AND TABLES - MAIN MANUSCRIPT

use Vigilantes.dta

** Discriptive bar charts
*** Chart 1: Who did you go to for help?

tab peacekeeper19 if subregion==1
tab peacekeeper20 if subregion==1
tab police19 if subregion==1
tab police20 if subregion==1
tab clan19 if subregion==1
tab clan20 if subregion==1

tab peacekeeper23 if subregion==1
tab police23 if subregion==1
tab clan23 if subregion==1

tab peacekeeper25 if subregion==1
tab police25 if subregion==1
tab clan25 if subregion==1

tab peacekeeper24 if subregion==1
tab peacekeeper27 if subregion==1
tab police24 if subregion==1
tab police27 if subregion==1
tab clan24 if subregion==1
tab clan27 if subregion==1

tab peacekeeper26 if subregion==1
tab police26 if subregion==1
tab clan26 if subregion==1

tab peacekeeper21 if subregion==1
tab peacekeeper22 if subregion==1
tab police21 if subregion==1
tab police22 if subregion==1
tab clan21 if subregion==1
tab clan22 if subregion==1

tab peacekeeper28 if subregion==1
tab peacekeeper29 if subregion==1
tab police28 if subregion==1
tab police29 if subregion==1
tab clan28 if subregion==1
tab clan29 if subregion==1

tab peacekeeper18 if subregion==1
tab police18 if subregion==1
tab clan18 if subregion==1


*** Chart 2: Who helped most?

tab CSGhelped19 if subregion==1
tab CSGhelped20 if subregion==1
tab policehelped19 if subregion==1
tab policehelped20 if subregion==1
tab clanhelped19 if subregion==1
tab clanhelped20 if subregion==1

tab CSGhelped23 if subregion==1
tab policehelped23 if subregion==1
tab clanhelped23 if subregion==1

tab CSGhelped25 if subregion==1
tab policehelped25 if subregion==1
tab clanhelped25 if subregion==1

tab CSGhelped24 if subregion==1
tab CSGhelped27 if subregion==1
tab policehelped24 if subregion==1
tab policehelped27 if subregion==1
tab clanhelped24 if subregion==1
tab clanhelped27 if subregion==1

tab CSGhelped26 if subregion==1
tab policehelped26 if subregion==1
tab clanhelped26 if subregion==1

tab CSGhelped21 if subregion==1
tab CSGhelped22 if subregion==1
tab policehelped21 if subregion==1
tab policehelped22 if subregion==1
tab clanhelped21 if subregion==1
tab clanhelped22 if subregion==1

tab CSGhelped28 if subregion==1
tab CSGhelped29 if subregion==1
tab policehelped28 if subregion==1
tab policehelped29 if subregion==1
tab clanhelped28 if subregion==1
tab clanhelped29 if subregion==1

tab CSGhelped18 if subregion==1
tab policehelped18 if subregion==1
tab clanhelped18 if subregion==1


** Regression outputs

*** Table 1: Individual Level Characteristics 

**** #1-1 vigilantes are present = a + b(sex) + c(age) + d(education) + controls
reg CSG sex_resp age_resp educ_resp propertycrime socialcrime violentcrime assets urban centralgovcares socialcap verysafe district subregion, vce(cluster village)

**** #1-2 vigilantes are helpful = a + b(sex) + c(age) + d(education) + controls
reg goodCSG sex_resp age_resp educ_resp propertycrime socialcrime violentcrime assets urban centralgovcares socialcap verysafe district subregion, vce(cluster village)

**** #1-3 police are present = a + b(sex) + c(age) + d(education) + controls
reg police sex_resp age_resp educ_resp propertycrime socialcrime violentcrime assets urban centralgovcares socialcap verysafe district subregion, vce(cluster village)
	
**** #1-4 police are helpful = a + b(sex) + c(age) + d(education) + controls
reg goodpolice sex_resp age_resp educ_resp propertycrime socialcrime violentcrime assets urban centralgovcares socialcap verysafe district subregion, vce(cluster village)

**** #1-5 vigilantes helped most = a + b(sex) + c(age) + d(education) + controls
reg CSGhelpedmost sex_resp age_resp educ_resp propertycrime socialcrime violentcrime assets urban centralgovcares socialcap verysafe district subregion, vce(cluster village)

**** #1-6 police helped most = a + b(sex) + c(age) + d(education) + controls
reg policehelpedmost sex_resp age_resp educ_resp propertycrime socialcrime violentcrime assets urban centralgovcares socialcap verysafe district subregion, vce(cluster village)

	
*** Table 2: Security Assemblages - appended version in paper

**** 2-1 vigilantes are present = a + b(% governance actors present) + controls
reg CSG govactor propertycrime socialcrime violentcrime assets urban centralgovcares socialcap verysafe district subregion,vce(cluster village)

**** 2-2 vigilantes are present = a + b(% governance actors helpful) + controls
reg CSG percenthelpful propertycrime socialcrime violentcrime assets urban centralgovcares socialcap verysafe district subregion,vce(cluster village)

**** 2-3 vigilantes are helpful = a + b(% governance actors present) + controls
reg goodCSG govactor propertycrime socialcrime violentcrime assets urban centralgovcares socialcap verysafe district subregion,vce(cluster village)

**** 2-4 vigilantes are helpful = a + b(% governance actors helpful) + controls
reg goodCSG percenthelpful propertycrime socialcrime violentcrime assets urban centralgovcares socialcap verysafe district subregion,vce(cluster village)


	
* FIGURES AND TABLES - SUPPLEMENTAL APPENDIX

** Appendix A: bar graph showing percent respondents in each village that reported vigilantes and police present and helpful
		
		histogram meanCSG, discrete frequency
		histogram meangoodCSG, discrete frequency
		histogram meanpolice, discrete frequency
		histogram meangoodpolice, discrete frequency
	
	
** Appendix B: bar graphs

		graph bar (mean) nothing19 nothing20 nothing23 nothing25 nothing21 nothing22 nothing27 nothing24 nothing26 nothing18 nothing28  nothing29 if subregion==1, ylabel(0(.2).8, angle(horizontal)) title("Did Nothing to Get Help") subtitle("all crimes disaggregated")
				
		graph bar (mean) clan19 clan20 clan23 clan25 clan21 clan22 clan27 clan24 clan26 clan18 clan28  clan29 if subregion==1, ylabel(0(.2).8, angle(horizontal)) title("Went to Clan for Help") subtitle("all crimes disaggregated")
				
		graph bar (mean) hhh19 hhh20 hhh23 hhh25 hhh21 hhh22 hhh27 hhh24 hhh26 hhh18 hhh28  hhh29 if subregion==1, ylabel(0(.2).8, angle(horizontal)) title("Went to Household Head for Help") subtitle("all crimes disaggregated")
				
		graph bar (mean) LC19 LC20 LC23 LC25 LC21 LC22 LC27 LC24 LC26 LC18 LC28  LC29 if subregion==1, ylabel(0(.2).8, angle(horizontal)) title("Went to LC for Help") subtitle("all crimes disaggregated")


** Appendix C: Full tables and robustness checks
*** Output Table C.3: SECURITY ASSEMBLAGES, TESTING FOR EACH ACTOR INDIVIDUALLY

**** C.3-1
reg CSG police tradi army propertycrime socialcrime violentcrime assets urban centralgovcares socialcap verysafe district subregion,vce(cluster village)

**** C.3-2
reg CSG goodpolice goodLC goodtradi goodcomm goodarmy propertycrime socialcrime violentcrime assets urban centralgovcares socialcap verysafe district subregion,vce(cluster village)
	
**** C.3-3
reg goodCSG police tradi army propertycrime socialcrime violentcrime assets urban centralgovcares socialcap verysafe district subregion,vce(cluster village)
	
**** C.3-4
reg goodCSG goodpolice goodLC goodtradi goodcomm goodarmy propertycrime socialcrime violentcrime assets urban centralgovcares socialcap verysafe district subregion,vce(cluster village)


*** Output Table C.4: SECURITY ASSEMBLAGES, ROBUSTNESS CHECK: DIFFERENT THRESHOLDS FOR HELPFUL VIGILANTES

**** C.4-1 - testing whether vigilantes that are helpful always are correlated with the presence of other authorities
reg bestCSG govactor propertycrime socialcrime violentcrime assets urban centralgovcares socialcap verysafe district subregion,vce(cluster village)

**** C.4-2 - testing whether vigilantes that are helpful sometimes or always are correlated with the presence of other sec actors***
reg goodCSG govactor propertycrime socialcrime violentcrime assets urban centralgovcares socialcap verysafe district subregion,vce(cluster village)
		
**** C.4-3 - testing whether vigilantes that are helpful sometimes, always, or rarely are correlated with the presence of other authorities
reg badCSG govactor propertycrime socialcrime violentcrime assets urban centralgovcares socialcap verysafe district subregion,vce(cluster village)
		
**** C.4-4 - testing whether vigilantes that are helpful always are correlated with helpful authorities
reg bestCSG percenthelpful propertycrime socialcrime violentcrime assets urban centralgovcares socialcap verysafe district subregion,vce(cluster village)
	
**** C.4-5 - testing whether vigilantes that are helpful sometimes or always are correlated with helpful authorities
reg goodCSG percenthelpful propertycrime socialcrime violentcrime assets urban centralgovcares socialcap verysafe district subregion,vce(cluster village)
	
**** C.4-6 - testing  whether vigilantes that are helpful sometimes, always, or rarely are correlated with helpful authorities
reg badCSG percenthelpful propertycrime socialcrime violentcrime assets urban centralgovcares socialcap verysafe district subregion,vce(cluster village)		


*** Output Table C.5: SECURITY ASSEMBLAGES, ROBUSTNESS CHECK EXCLUDING VILLAGES WHERE 100% REPORTED 	VIGILANTES PRESENT

**** C.5-1 - testing whether vigilantes that are helpful always are correlated with the presence of other authorities, excluding villages where 100% reported vigilantes present
reg bestCSG govactor propertycrime socialcrime violentcrime assets urban centralgovcares socialcap verysafe district subregion,vce(cluster village), if meanCSG<1

**** C.5-2 - testing whether vigilantes that are helpful sometimes or always are correlated with the presence of other authorities, excluding villages where 100% reported vigilantes present
reg goodCSG govactor propertycrime socialcrime violentcrime assets urban centralgovcares socialcap verysafe district subregion,vce(cluster village), if meanCSG<1
		
**** C.5-3 - testing whether vigilantes that are helpful always, sometimes, or rarely are correlated with the presence of other authorities, excluding villages where 100% reported vigilantes present
reg badCSG govactor propertycrime socialcrime violentcrime assets urban centralgovcares socialcap verysafe district subregion,vce(cluster village), if meanCSG<1
		
**** C.5-4 - testing whether vigilantes that are helpful always are correlated with helpful authorities, excluding villages where 100% reported vigilantes present
reg bestCSG percenthelpful propertycrime socialcrime violentcrime assets urban centralgovcares socialcap verysafe district subregion,vce(cluster village), if meanCSG<1
	
**** C.5-5 - testing whether vigilantes that are helpful sometimes or always are correlated with helpful authorities, excluding villages where 100% reported vigilantes present
reg goodCSG percenthelpful propertycrime socialcrime violentcrime assets urban centralgovcares socialcap verysafe district subregion,vce(cluster village), if meanCSG<1
	
**** C.5-6 - testing  whether CSG that are helpful always, sometimes, or rarely are correlated with helpful authorities, excluding villages where 100% reported vigilantes present
reg badCSG percenthelpful propertycrime socialcrime violentcrime assets urban centralgovcares socialcap verysafe district subregion,vce(cluster village), if meanCSG<1


stop
